.body{
    background-color: aqua;
}

.container{
    padding: 2rem;
    padding-bottom: 400px;
    margin: 0 auto;
    max-width: 800px;
    position: relative;
}

.top-section{
    text-align: center;
    padding: 4rem 0;
    max-width: 600px;
    margin: 0 auto;
}


.top-section p {
    font-style: italic; 
    color: #293358; 
    font-size: 24px;
}

.header-image {
    position: absolute;
    top: 0;
    right: 0;
    margin-block: 530px;
}
.header-image2{
    position: absolute;
    top: 0;
    right: 0;
    

}
.header-image3{
    position: absolute;
    top: 0;
    right: 0;}

.header-image2 img {
    width: 327px;
  height: 329px;
  border-radius: 50%;
  margin-top: 1148px;
  margin-left: 142px;
}
.header-image3 img {
    width: 327px;
  height: 329px;
  border-radius: 50%;
  margin-top: 956px;
  margin-left: 142px;
}



.header-image img {
    width: 351px;
  height: 359px;
  border-radius: 50%;
  margin-top: 482px;
}

.timeline{
    position: relative;
    min-height: 150px;
}

.line{
    position: absolute;
    z-index: 2;
    left: calc(50% - 1px);
    width: 3px;
    top: -50px;
    background-color: #293358;
    display: none;
}

.line:before,
.line::after{
    position: absolute;
    display: block;
    content: '';
    height: 1rem;
    width: 1rem;
    border-radius: 50%;
    background-color: #354878;
    left: 50%;
    transform: translateX(-50%);
}

.line:after{
    bottom: 0;
}

.section{
    display: flex;
    opacity: 0;
    transform: translateX(-100%);
    transition: 600ms ease;
    position: relative;
    z-index: 1;
    margin: 50px 0;
    padding: 1rem;
    align-items: center;
    min-height: 300px;
}

.section:nth-child(odd){
    flex-direction: row-reverse;
    transform: translateX(100%);
}

.bead{
    position: absolute;
    display: block;
    height: 1rem;
    width: 1rem;
    border-radius: 50%;
    background-color: #fff;
    left: 50%;
    top: 20%;
    transform: translateX(-50%);
}

.content{
    width: calc(50% - 2rem);
}

.show-me:nth-child(n){
    transform: none;
    opacity: 1;
}

h1{
    font-weight: 400;
    letter-spacing: 1px;
   
}
.timeline .section .content h2 {
    color: #000000; /* Couleur du texte du titre */
    font-size: 24px; /* Taille de la police du titre */
    font-weight: bold; /* Poids de la police (gras) */
    /* Ajoutez d'autres styles selon vos préférences */
}
@media only screen and (min-device-width : 414px) and (max-device-width : 896px) and (-webkit-device-pixel-ratio : 2) and (orientation : portrait) {
    .header-image img {
      width: 204px;
      height: 358px;
      border-radius: 46%;
      margin-top: 698px;
    }


    .header-image2 img {
        width: 165px;
        height: 268px;
        border-radius: 50%;
        margin-top: 1932px;
        margin-left: 142px;
  }
  .header-image3 img {
    width: 197px;
    height: 269px;
    border-radius: 50%;
    margin-top: 559px;
    position: relative;
    left: -222px;

}

}